﻿using System;
using System.Collections.Generic;
using System.Text;
using MyLibrary.ThreeLayer.DataAccess.Enum;
using MyLibrary.ThreeLayer.DataAccess.Attributes;

namespace MyLibrary.ThreeLayer.DataAccess.MetaData
{
    public class JoinField
    {
        public readonly JoinType JoinType;
        public readonly Type JoinTarget;

        public JoinField(JoinAttribute attribute)
        {
            this.JoinTarget = attribute._JoinTarget;
            this.JoinType = attribute._JoinType;
        }
    }
}
